[qemu] Fix ia64 build.
authorChristian Limpach <Christian.Limpach@xensource.com>
Wed, 9 May 2007 21:12:20 +0000 (22:12 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Wed, 9 May 2007 21:12:20 +0000 (22:12 +0100)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
tools/ioemu/hw/mc146818rtc.c

index 4155c5ebf3c21e8c14d4391bf113dcce277d160a..9f47206dd5c0dc372bfc192625edf2d073f4701f 100644 (file)
@@ -412,6 +412,7 @@ void rtc_set_date_from_host(RTCState *s)
     time_t ti;
     struct tm *tm;
     int val;
+    extern timer_t timeoffset;
 
     /* set the CMOS date */
     time(&ti);